<?php
include '../fns/fn.php';

//$arr=array(
//    "1"=>"男",
//    "12"=>"23",
//    "打球"    
//);

//echo $arr[12];exit;
//$arr[2]="2222";
//echo $arr[2];

//echo $arr[13];exit;



//关联数组

//$arr=array(
//    "sex"=>"男",
//    "age"=>"23",
//    "aihao"=>"打球"  
//);
//echo $arr['sex'];
//echo $arr['age'];
//echo $arr['aihao'];


//二维数组或多维数组



//$arr1=array(
//    "li"=>array(
//         "sex"=>"男",
//        "age"=>"22",
//        "aihao"=>"打球"  
//    ),
//     "wang"=>array(
//          "sex"=>"女",
//         "age"=>"33",
//         "aihao"=>"晚秋" 
//    )
//);
//echo "李四性别是：".$arr1['li']['sex'];
//





